FileLoader.this

Creates a new GtkSourceFileLoader object. The contents is read from the [class@File]'s location.

If not already done, call [method@File.set_location] before calling this constructor. The previous location is anyway not needed, because as soon as the file loading begins, the @buffer is emptied.

Parameters

buffer Buffer

the #GtkSourceBuffer to load the contents into.

file File

the #GtkSourceFile.

Return Value

a new #GtkSourceFileLoader object.

Throws

ConstructionException GTK+ fails to create the object.

Meta